*
{
    font-family: "微软雅黑","Microsoft YaHei","宋体",Arial,Helvetica,sans-serif,Tahoma;
    border: 0 none;
    margin: 0;
    padding: 0;
}

body{
      background-color: #ebebeb;
      font-family: -apple-system;
      font-family: "-apple-system", "Helvetica Neue", "Roboto", "Segoe UI", sans-serif;
    }

.msg-box
{
        clear: both;
        position:relative;
        margin-bottom:18px;
        margin-left:0px;
        margin-right:0px;
        margin-top:18px;
        text-align: left;
}
.msg-agent {
        position:relative;
        margin-left:10px;
}

.msg-client {
        position:relative;
        margin-right:0px;
}
.msg-agent:after,.msg-client:after {
        display:block;
        clear:both;
        content:''
}

 .text
 {
 white-space:pre-wrap;
}
.text1
 {
        font-size:12px;color: #58595b;line-height:20px;margin-top:-2px;text-align: left;margin-left:60px;
}

.text2
 {
        font-size:12px;color: #58595b;line-height:20px;margin-top:-2px;text-align: right;margin-right:70px;
}
.msg-agent .arrow,.msg-agent .arrow-bg,.msg-client .arrow,.msg-client .arrow-bg {
        position:absolute;
        display:block;
        width:0;
        height:0;
        font-size:0
}
.msg-client .arrow {
        top:14px;
        right:-6px;
        border-top:5px solid transparent;
        border-bottom:5px solid transparent
}
/*头像位置*/
.msg-client .client-avatar {
        position:relative;
        right:10px;
        top:0;
        float:right;
}
.msg-client .client-avatar>img {
        width:48px;
        height:48px;
        margin-top:5px;
        border-radius:24px
}

.msg-agent .agent-avatar
{
        float:left;
        left: 0px;
    position: relative;
    top: 0px;
}
.msg-agent .agent-avatar>img {
        width:48px;
        height:48px;
        margin-top:5px;
        border-radius:24px
}

.msg-agent .arrow-bg {
        top:13px;
        left:-7px;
        border-top:6px solid transparent;
        border-bottom:6px solid transparent;
        border-right:7px solid #f0f0f0
}
.msg-agent .arrow {
        top:14px;
        left:-6px;
        border-top:5px solid transparent;
        border-bottom:5px solid transparent;
        border-right:6px solid #fff
}


.msg-client {
        color:#000;
}
.msg-client a {
        color:blue;
}
.arrow_box,.arrow_box_left {
        position: relative;
  border-radius: 6px;
  padding: 8px 12px;
   max-width: 70%;
    width: auto;
    word-break: break-all;
    word-wrap: break-word;
}
/*气泡框位置*/
.arrow_box {
        margin-right:20px;
        background: #b2e866;
    float: right;
   border: 1px solid #94d03f;
}
.arrow_box_left {
    margin-right: 15px;
        margin-left:10px;
background: #fff;
    float: left;
border: 1px solid #d8d8d8;
}

.arrow_box:after, .arrow_box:before,.arrow_box_left:after, .arrow_box_left:before
{
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        top: 16px;
}
.arrow_box:after, .arrow_box:before
{
        left: 100%;
}
.arrow_box_left:after, .arrow_box_left:before,.arrow_box_vote:after
{
        right: 100%;
}
.arrow_box:after,.arrow_box_left:after,.arrow_box_vote:after {
        border-width: 6px;
        margin-top: -6px;
}
.arrow_box:after {
        margin-left: -1px;
        border-left-color: #b2e866;
}
.arrow_box_left:after {
        margin-right: -1px;
        border-right-color: #fff;
}

.arrow_box:before,.arrow_box_left:before {
        border-width: 6px;
        margin-top: -6px;
}
.arrow_box:before{
        border-left-color: #94d03f;

}
.arrow_box_left:before {
        border-right-color: #d8d8d8;
}

.chat-notice{
  clear: both;
  font-size: 100%;
  color: white;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
}
.chat-notice span{
  background-color: #cecece;
  line-height: 25px;
  border-radius: 5px;
  padding: 5px 10px;
}
